// 设置token
export const setAuthorization = function(authorization) {
	uni.setStorageSync("Authorization", authorization)
}

export const isAuthLogin = function() {
	let authorization = uni.getStorageSync('Authorization')
	if (authorization == null || authorization == '') {
		return false;
	}
	return true;
}

export const setInfoLogin = function(isLogin) {
	uni.setStorageSync("login", isLogin)
}

export const isInfoLogin = function() {
	let login = uni.getStorageSync('login')
	return login;
}